package org.dromara.system.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
import org.dromara.system.domain.SysUserPointsRecords;
import org.dromara.system.domain.bo.HomePagePointsBo;
import org.dromara.system.domain.bo.QueryTotalPointsByTypeBo;
import org.dromara.system.domain.bo.SysUserPointsRecordsBo;
import org.dromara.system.domain.vo.SysUserPointsRecordsVo;

import java.math.BigDecimal;

/**
 * 【请填写功能名称】Mapper接口
 *
 * @author Lion Li
 * @date 2025-07-02
 */
public interface SysUserPointsRecordsMapper extends BaseMapperPlus<SysUserPointsRecords, SysUserPointsRecordsVo> {

    IPage<SysUserPointsRecordsVo> findAll(IPage<SysUserPointsRecordsVo> page, @Param("query") SysUserPointsRecordsBo bo);

    BigDecimal queryHomePagePointsBo(@Param("query") HomePagePointsBo bo);

    BigDecimal queryTotalPointsByType(@Param("query") QueryTotalPointsByTypeBo bo);


}
